<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <!-- 页面加载loading -->
    <div th:fragment="loading" class="page-loading">
        <div class="rubik-loader"></div>
    </div>
    <div th:fragment="notice" class="layui-row layui-col-space15">
        <div class="notice">
            <i class="layui-icon layui-icon-notice"></i>
            金箍棒，金箍棒，金箍棒勒个棒--祝大家圣诞快乐
        </div>
    </div>
    <span th:fragment="mark(post)" class="mark">
        <span th:if="${not #strings.isEmpty(post.coverImage)}" class="tiezi-title-type-img">
            <i class="layui-icon">&#xe64a;</i>
        </span>
        <span th:if="${post.postSupport==1}" class="tiezi-title-type-nice">精</span>
        <span th:if="${post.postTop==1}" class="tiezi-title-type-up">顶</span>
        <!--<span th:if="${article.postType==1}" class="tiezi-title-type-pay">付费可见</span>-->
    </span>
    <span th:fragment="mark2(post)" class="mark">
        <span th:if="${not #strings.isEmpty(post.coverImage)}" class="tiezi-title-type-img">
            <i class="layui-icon">&#xe64a;</i>
        </span>
        <span th:if="${post.postSupport==1}" class="tiezi-title-type-nice">精</span>
        <span th:if="${post.postTop==1}" class="tiezi-title-type-up">顶</span>
        <span th:if="${post.postType==1}" class="tiezi-title-type-pay">付费可见</span>
        <span th:if="${post.postType==2}" class="tiezi-title-type-login">登陆可见</span>
        <span th:if="${post.postType==3}" class="tiezi-title-type-comment">回复可见</span>
    </span>
    <!--授权失败-->
    <div class="catalog-panel">
        <div class="nopermission">
            <div class="nopermission-form">
                <div class="nopermission-header">
                    <span class="nopermission-avatar">
                        <img th:src="${catalog.catalogImg}">
                    </span>
                    <span class="nopermission-name" th:text="${catalog.catalogName}"></span>

                </div>
                <div class="nopermission-content">
                    <div class="nopermission-tips">
                        您没有访问权限
                    </div>
                </div>
            </div>
        </div>


    </div>
    <!--用户认证图标-->
    <div th:fragment="verify(userGrade)">
        <th:block th:switch="${userGrade}">
            <div th:case="1" class="javabb-verify javabb-verify-a" title="普通用户"></div>
            <div th:case="2" class="javabb-verify javabb-verify-b" title="认证用户"></div>
            <div th:case="3" class="javabb-verify javabb-verify-c" title="认证用户"></div>
            <div th:case="4" class="javabb-verify javabb-verify-d" title="认证用户"></div>
        </th:block>
    </div>

</html>
